using System;

namespace PhillyCodeCamp.Infrastructure
{
    public class InterfaceResolutionException : Exception
    {
        public const string ExceptionMessageFormat = "Failed to resolve an implementation of type: {0}";


        public InterfaceResolutionException(Type typeThatCouldNotBeResolved, Exception exception)
            : base(string.Format(ExceptionMessageFormat, typeThatCouldNotBeResolved.FullName), exception)
        {
        }
    }
}